package com.inibb.app.constant;


public enum CommonErrorCode implements ErrorCode{
	E_RUNTIME("E-RUNTIME"),
	E_NOT_EMPTY("E-NOT-EMPTY"),
	;

	private String errorCode;
	private String errorMessage;
	CommonErrorCode(String errorCode, String errorMessage){
		this.errorCode = errorCode;
		this.errorMessage = errorMessage;
	}
	
	CommonErrorCode(String errorCode){
		this.errorCode = errorCode;
		this.errorMessage = errorCode;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	@Override
	public String toString() {
		return this.getErrorCode();
	}

	

}
